package com.ks.dto;

/**
 * 
 * @author jxzhang on 2017年3月12日
 * @Verdion 1.0 版本
 * @param <T>
 */
public class ResultDto<T> {

	private boolean type = false; // 结果类型
	private String msg; // 提醒消息
	private T body; // body
	private Integer status; // 状态码

	public ResultDto() {
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public ResultDto(boolean type) {
		this.type = type;
	}

	public boolean isType() {
		return type;
	}

	public void setType(boolean type) {
		this.type = type;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}

}
